#ifndef __Mario_project__CMap__
#define __Mario_project__CMap__

#include <iostream>
#include <vector>
#include <SDL/SDL.h>
#include "CTile.h"
#include "CSurface.h"
#include "CEntity.h"
#include "CCamera.h"

class CMap {
public:
    SDL_Surface*	Surf_Tileset;
    static CMap		MapControl;
    std::vector<CTile> TileList;
    
    int MapWidth;
    int MapHeight;
    
public:
    CMap();
    
public:
    bool	OnLoad(char* File);    
    void	OnRender(SDL_Surface* Surf_Display, int MapX, int MapY);
    CTile*	GetTile(int X, int Y);
    void	OnCleanup();
};

#endif /* defined(__Mario_project__CMap__) */
